<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>表格-table</title>
</head>
<body>
    <table 
        width="600"
        border="1" 
        cellspacing="0" 
        cellpadding="20"
        align="center"
    >
        <tr>
            <th width="200">姓名姓名姓名</th> 
            <th width="200">年龄</th> 
            <th width="200">职业</th> 
        </tr>
        <tr align="center">
            <td>张三</td>
            <td colspan="2">30</td>
        </tr>
        <tr align="center">
            <td colspan="2">张三</td>
            <!-- <td>30</td> -->
            <td>学生</td>
        </tr>
        <tr align="center">
            <td colspan="3">张三</td>
            <!-- <td>30</td>
            <td>学生</td> -->
        </tr>
        <tr align="center">
            <td rowspan="3">张三</td>
            <td>30</td>
            <td>学生</td>
        </tr>
        <tr align="center">
            <td>30</td>
            <td>学生</td>
        </tr>
        <tr align="center">
            <td>30</td>
            <td>学生</td>
        </tr>
    </table>

    <!-- <table border="1" background="imgs/s1.jpg">
        <tr bgcolor="red">
            <th>姓名</th> 
            <th>年龄</th> 
            <th>职业</th> 
        </tr>
        <tr>
            <td bgcolor="green">张三</td>
            <td>30</td>
            <td>学生</td>
        </tr>
        <tr>
            <td>张三</td>
            <td>30</td>
            <td>学生</td>
        </tr>
        <tr>
            <td>张三</td>
            <td>30</td>
            <td>学生</td>
        </tr>
        <tr>
            <td>张三</td>
            <td>30</td>
            <td>学生</td>
        </tr>
    </table> -->
</body>
</html>